package com.dhcc.bpm.alarm.vo.statistics;


import lombok.Data;

@Data
public class AlarmStrategyTimeVO implements Comparable<AlarmStrategyTimeVO>  {
	
	private String time;
	
	private String label;
	
	private String value;

	@Override
	public int compareTo(AlarmStrategyTimeVO obj) {
		return this.time.compareTo(obj.getTime());
	}

	public AlarmStrategyTimeVO(String time, String value) {
		super();
		this.time = time;
		this.value = value;
	}

	public AlarmStrategyTimeVO() {
		super();
	}

	public AlarmStrategyTimeVO(String time, String label, String value) {
		super();
		this.time = time;
		this.label = label;
		this.value = value;
	}
	
	

}
